package com.xja.service.impl;/**
 * @className: TypeServiceImpl
 * @description: TODO 类描述
 * @author: wkx
 * @date: 2022/4/14
 **/

import com.xja.mapper.TypeMapper;
import com.xja.pojo.Type;
import com.xja.service.TypeService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @ClassName : TypeServiceImpl  //类名

 * @Author : Lenovo //作者
 * @Date: 2022/4/14  9:50
 */
@Service
public class TypeServiceImpl implements TypeService {

    @Autowired
    TypeMapper typeMapper;
    @Override
    public List<Type> getTypeList() {
        return typeMapper.selectType();
    }
}
